const configWeb3 = require('../../config/web3');

const ethers = require('ethers');
let provider = new ethers.providers.JsonRpcProvider(configWeb3.provider);
let abi = configWeb3.abi.BancorConverter;

module.exports = {
    async connectors(address,connector) {
        let contract = new ethers.Contract(address, abi, provider);
        return await contract.connectors(connector);
    },
};
